﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using BCEntity.Chats;

namespace BCData.Chats
{
    public interface IThreadParticipantData
    {
        Task<IEnumerable<ThreadParticipantEntity>> GetThreadParticipantsByThreadIdAsync(IEnumerable<long> threadIds);

        Task<int> InsertAllAsync(IEnumerable<ThreadParticipantEntity> entities);

        Task<int> UpdateAllAsync(IEnumerable<ThreadParticipantEntity> entities);
    }
}
